package dk.pun.aot.shared.user;

import java.io.Serializable;

@SuppressWarnings("serial")
public class LoginInfo implements Serializable {

	private boolean loggedIn;
	private String loginURL;
	private String logoutURL;
	private UserData userData;
	private boolean userAdmin;
	private boolean anonymous;
	
	public void setLoggedIn(boolean loggedIn) {
		this.loggedIn = loggedIn;
	}

	public boolean isLoggedIn() {
		return this.loggedIn;
	}

	public void setLoginURL(String loginURL) {
		this.loginURL = loginURL;
	}

	public String getLoginURL() {
		return this.loginURL;
	}

	public void setLogoutURL(String logoutURL) {
		this.logoutURL = logoutURL;
	}

	public String getLogoutURL() {
		return this.logoutURL;
	}

	public UserData getUserData() {
		return userData;
	}

	public void setUserData(UserData userData) {
		this.userData = userData;
	}

	public void setUserAdmin(boolean userAdmin) {
		this.userAdmin = userAdmin;
	}

	public boolean isUserAdmin() {
		return userAdmin;
	}

	public void setAnonymous(boolean anonymous) {
		this.anonymous = anonymous;
	}

	public boolean isAnonymous() {
		return this.anonymous;
	}
}
